package org.microservice.auth.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.microservice.common.bean.MenuVo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/6/20
 * Time: 13:33
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Mapper
public interface SysMenuDao extends BaseMapper<MenuVo>{

    List<MenuVo> findMenusByRoleIds(@Param("ids") List<Integer> ids, @Param("type") int menuType);
}
